<%@include file="/common/include.jsp"%>

<head>
	<meta http-equiv="refresh" content="5;url=<s:url includeParams="all" />"/>
	<link type="text/css" href="../styles/batch.css" rel="stylesheet" />
	<script src="../scripts/jquery/jquery.js" type="text/javascript"></script>
	<script type="text/javascript">
		$(document).ready(function(){
			var elemProgress = $("#progress");
			var progress = elemProgress.val();

			var elemBar = $("#bar-fill");
			elemBar.width(490 * progress);
		});
	</script>
</head>

<h2>Loading ...</h2>

<div id="bar-border">
	<div id="bar-fill">
	</div>
</div>

<p>Please wait while DevMeter process your request.</p>
<table class="report">
	<tr>
		<td>
			<label>Errors: </label>
		</td>
		<td>
			<s:property value="%{errorsLoaded}"/>
		</td>		
	</tr>
	<tr>
		<td>
			<label>Progress Load: </label>
		</td>
		<td>
			<s:property value="%{progressString}"/>
		</td>		
	</tr>
	<tr>
		<td>
			<label>Total Commits: </label>
		</td>
		<td>
			<s:property value="%{totalLoadInteger}"/>
		</td>		
	</tr>
	<tr>
		<td>
			<label>Status: </label>
		</td>
		<td>
			<s:property value="%{status}"/>
		</td>		
	</tr>
</table>

<s:hidden id="progress" name="progress" value="%{progress}" />